package com.atguigu.scala.chapter_06_simplification

object Scala_06 {
  def main(args: Array[String]): Unit = {
    def func(name:String):String={
      return name
    }
    val a1=func("ralph")
    val a2=func _
    val a3:(String)=>String=func
    println(a1)
    println(a2)
    println(a3)
    def func1():(String)=>String={
      return a2

    }
    println(func1())

  }
}
